package com.ruanxie.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@Data
@ConfigurationProperties(prefix = "webdriver")
public class WebDriverProperties {
    private Browser chrome=new Browser();//这里不一定不能忘记新建
    private Browser edge=new Browser();

    @Data
    public class Browser{
        String driverPath;
    }

}
